
# pip install pypinyin
from pypinyin import lazy_pinyin, Style
style = Style.TONE3

name_list = lazy_pinyin('闻凤娟', style=style) # zhu1xiao3ming2/wen2feng4juan1 数字为声调
print(''.join(name_list))



